2.8
LOW CVSS 3.1
CVE-2024-2313
Linux BCC Forceable Header Loading Vulnerability
Description

If kernel headers need to be extracted, bpftrace will attempt to load them from a temporary directory. An unprivileged attacker could use this to force bcc to load compromised linux headers. Linux distributions which provide kernel headers by default are not affected by default.

INFO

Published Date :

March 10, 2024, 11:15 p.m.

Last Modified :

March 13, 2025, 10:15 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2024-2313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Bpftrace bpftrace
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 LOW [email protected]
Solution
To address this vulnerability, update all the affected packages and the bpftrace package.
  • Update the affected packages.
  • Update the bpftrace package.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-2313 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-2313 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-2313 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-2313 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 25, 2025

    Action Type Old Value New Value
    Added CPE Configuration AND OR *cpe:2.3:a:bpftrace:bpftrace:*:*:*:*:*:*:*:* versions up to (excluding) 0.20.2 OR cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
    Added Reference Type CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313 Types: Third Party Advisory
    Added Reference Type Canonical Ltd.: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313 Types: Third Party Advisory
    Added Reference Type CVE: https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998 Types: Patch
    Added Reference Type Canonical Ltd.: https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998 Types: Patch
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 13, 2025

    Action Type Old Value New Value
    Added CWE CWE-377
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313
    Added Reference https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Mar. 10, 2024

    Action Type Old Value New Value
    Added Description If kernel headers need to be extracted, bpftrace will attempt to load them from a temporary directory. An unprivileged attacker could use this to force bcc to load compromised linux headers. Linux distributions which provide kernel headers by default are not affected by default.
    Added Reference Canonical Ltd. https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998 [No types assigned]
    Added Reference Canonical Ltd. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313 [No types assigned]
    Added CVSS V3.1 Canonical Ltd. AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 2.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact